import request from '@/router/axios';

// 大修维修助手
export const overhaulAssistant = (current, size, params) => {
  return request({
    url: '/api/hg-equipment/repair/task/overhaulAssistant',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    }
  })
}

// 小修维修助手
export const minorAssistant = (current, size, params) => {
  return request({
    url: '/api/hg-equipment/repair/task/minorAssistant',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    }
  })
}

// 维修助手附件
export const assistantFile = taskId => {
  return request({
    url: '/api/hg-equipment/repair/task/assistantFile',
    method: 'get',
    params: {
      taskId
    }
  })
}